Skip to main content

Cogsol framework agent

The cogsol-framework-agent is a reference agent built on top of cogsol-framework. It can answer questions about the framework and its core concepts.

Repository on GitHub

Using the MCP server

The agent is exposed through a Model Context Protocol (MCP) HTTP server.

You can connect to this server from tools that support MCP, such as GitHub Copilot and Claude Code.

GitHub Copilot in VS Code

To use the agent from GitHub Copilot in Visual Studio Code:

  1. In your workspace, create a .vscode folder if it does not already exist.
  2. Inside .vscode, create a file named mcp.json with the following content:
{
"servers": {
"cogsol-mcp": {
"type": "http",
"url": "https://mcp-agent-framework.cogsol.ai/mcp"
}
}
}
  1. Open the GitHub Copilot settings in VS Code.
  2. Go to the MCP servers section. You should see a server named cogsol-mcp under Installed MCP servers.
  3. In the same section, select cogsol-mcp and click Start server to start it.

Once the server is running, you can start chatting with Copilot. When asking questions, be explicit that you are looking for help with the cogsol-framework or its documentation so that Copilot is more likely to route the query through the cogsol-mcp server.

Claude Code

To use the agent from Claude Code:

  1. In a terminal, register the MCP server:
claude mcp add --transport http cogsol-docs https://mcp-agent-framework.cogsol.ai/mcp
  1. Restart your Claude Code session (close and open it again) so that it loads the new MCP server configuration.
  2. To verify that the server is installed, type /mcp in a Claude Code chat and confirm that cogsol-docs appears in the list of available MCP servers.